package jphysics;

import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * @author KaLeonis
 */
public class JPhysics extends Application {
    
    @Override
    public void start(Stage stage) throws Exception {
        stage.setTitle("JPhysics");
        
		Group root = new Group();
        Scene scene = new Scene(root, 640, 360);
        stage.setScene(scene);
        
        root.getChildren().add(new DPoint(20, 20));
        root.getChildren().add(new DPoint(50, 30));
        root.getChildren().add(new DPoint(90, 80));
        
		root.getChildren().add(new DLine());
		root.getChildren().add(new DCircle());
		root.getChildren().add(new DRectangle());
		root.getChildren().add(new DCubicCurve());

        stage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}